package cn.stylefeng.guns.modular.entity;

import java.util.Date;
//不需要
public class User {

    /**
     * 用户名id
     */
    private int uid;
    /**
     * 用户名
     */
    private String username;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 邮箱（必填）
     */
    private String email;
    /**
     * 组织（选填）
     */
    private String organization;

    /**
     * 状态（待审核/通过）
     */
    private String state;

    /**
     * 注册时间 register
     */

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    private Date registerTime;

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", organization='" + organization + '\'' +
                ", state='" + state + '\'' +
                ", registerTime=" + registerTime +
                '}';
    }
}
